<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <?php
        require_once('Input/db_connect.php');
        ?>
        <title></title>
    </head>
    <body>
        <table>
        <?php
        $getPlane= mysql_query('SELECT * FROM planes') or die(mysql_error());
        if(mysql_num_rows($getPlane) <1){
            echo "error";
            die();
        }
        while ($rows = mysql_fetch_array($getPlane)) {
            print_r($rows);
        }

        
        ?>
        </table>
    </body>
</html>
